﻿using System;

namespace Log
{
    public delegate void EventViewerEventHandler(object sender, EventViewerEventArgs e);

    /// <summary>
    /// Summary description for EventViewerEventArgs.
    /// </summary>
    public class EventViewerEventArgs : EventArgs
    {
        #region Members
        private string m_Source;
        private string m_Description;
        #endregion

        #region Constructor
        public EventViewerEventArgs(string p_Source, string p_Description)
        {
            m_Source = p_Source;
            m_Description = p_Description;
        }
        #endregion

        #region Accessors

        public string Source
        {
            get { return m_Source; }
        }

        public string Description
        {
            get { return m_Description; }
        }

        #endregion
    }
}